package com.ruoyi.project.modules.errorCode.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 错误码对象 t_error_code
 * 
 * @author smallrain
 * @date 2022-04-04
 */
public class ErrorCode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 错误码ID */
    private Long errorCodeId;

    /** 错误码分类ID */
    @Excel(name = "错误码分类ID")
    private Long errorCodeCategoryId;

    /** 错误码 */
    @Excel(name = "错误码")
    private String errorCode;

    /** 错误码详情 */
    @Excel(name = "错误码详情")
    private String errorCodeDetail;

    private String errorCodeCategoryCode;

    private String errorCodeCategoryName;

    public String getErrorCodeCategoryName() {
        return errorCodeCategoryName;
    }

    public void setErrorCodeCategoryName(String errorCodeCategoryName) {
        this.errorCodeCategoryName = errorCodeCategoryName;
    }

    public String getErrorCodeCategoryCode() {
        return errorCodeCategoryCode;
    }

    public void setErrorCodeCategoryCode(String errorCodeCategoryCode) {
        this.errorCodeCategoryCode = errorCodeCategoryCode;
    }

    public void setErrorCodeId(Long errorCodeId)
    {
        this.errorCodeId = errorCodeId;
    }

    public Long getErrorCodeId() 
    {
        return errorCodeId;
    }
    public void setErrorCodeCategoryId(Long errorCodeCategoryId) 
    {
        this.errorCodeCategoryId = errorCodeCategoryId;
    }

    public Long getErrorCodeCategoryId() 
    {
        return errorCodeCategoryId;
    }
    public void setErrorCode(String errorCode) 
    {
        this.errorCode = errorCode;
    }

    public String getErrorCode() 
    {
        return errorCode;
    }
    public void setErrorCodeDetail(String errorCodeDetail) 
    {
        this.errorCodeDetail = errorCodeDetail;
    }

    public String getErrorCodeDetail() 
    {
        return errorCodeDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("errorCodeId", getErrorCodeId())
            .append("errorCodeCategoryId", getErrorCodeCategoryId())
            .append("errorCode", getErrorCode())
            .append("errorCodeDetail", getErrorCodeDetail())
            .toString();
    }
}
